﻿<UserControl
    x:Class="Coding4Fun.Maelstrom.Tablet.Paddle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Coding4Fun.Maelstrom.Tablet"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Canvas>
        <Canvas x:Name="puckGraphics" Width="400" Height="400" Canvas.Left="-200" Canvas.Top="-200">
            <Image x:Name="paddleBase" Source="Images/paddleBase.png"/>
            <Image x:Name="paddleSpeed" Source="Images/paddleSpeed.png" Width="400" Height="400" RenderTransformOrigin=".5,.5">
                <Image.RenderTransform>
                    <RotateTransform x:Name="speedRot" Angle="0"/>
                </Image.RenderTransform>
            </Image>
            <Image x:Name="paddleDirection" Source="Images/paddleDirection.png" Width="400" Height="400" RenderTransformOrigin=".5,.5">
                <Image.RenderTransform>
                    <RotateTransform x:Name="directionRot" Angle="0"/>
                </Image.RenderTransform>
            </Image>
        </Canvas>
    </Canvas>
</UserControl>
